package com.zenith.api.po.dto.edu;

import com.zenith.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "EduAssignmentQuestionDTO", description = "作业题目DTO")
public class EduAssignmentQuestionDTO extends BaseDTO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "所属作业ID")
    private Long assignmentId;
    
    @Schema(description = "题目ID")
    private Long questionId;
    
    @Schema(description = "排序")
    private Integer sortOrder;
    
    @Schema(description = "本题分值")
    private BigDecimal score;
}